<?php
class dailyc extends spController
{
	function index(){
		$this->display("hr/index.html");
	}
	
   function showDaily(){
   	   	$daily = spClass("daily");
		$this->results = $daily->spPager($this->spArgs('page', 1),pageSize())->findAll("cdate"); 
	    $this->pager =   $daily->spPager()->getPager();
	    //$this->num = 1;
	    $this->display("tmpHR/files/listDaily.html");
	}	
}